package com.cloudbroker.bcs.platform.dav.bizapi.service.operate.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.InvestPassType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

/**
 * Created by wangly18345 on 2016/8/24.
 */
public class InvestCheckForm extends HSBCPSVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @NotBlank
    @IntegerString
    protected String broker_id;

    @NotBlank
    @IntegerString
    protected String tenant_id;

    @NotBlank
    @Length(max = 255)
    protected String branch_no;

    @NotBlank
    @IntegerString
    @EnumValue(enumClass = InvestPassType.class)
    protected String check_flag;

    @Length(max = 255)
    protected String check_remark;

    public String getBroker_id() {
        return broker_id;
    }

    public void setBroker_id(String broker_id) {
        this.broker_id = broker_id;
    }

    @Override
    public String getTenant_id() {
        return tenant_id;
    }

    @Override
    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    public String getCheck_flag() {
        return check_flag;
    }

    public void setCheck_flag(String check_flag) {
        this.check_flag = check_flag;
    }

    public String getCheck_remark() {
        return check_remark;
    }

    public void setCheck_remark(String check_remark) {
        this.check_remark = check_remark;
    }

    public String getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(String branch_no) {
        this.branch_no = branch_no;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("InvestCheckForm{");
        sb.append("broker_id='").append(broker_id).append('\'');
        sb.append(", tenant_id='").append(tenant_id).append('\'');
        sb.append(", branch_no='").append(branch_no).append('\'');
        sb.append(", check_flag='").append(check_flag).append('\'');
        sb.append(", check_remark='").append(check_remark).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
